package com.xbongbong.saas.model.impl;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.saas.domain.dao.WorkReportApprovePeopleDao;
import com.xbongbong.saas.domain.entity.WorkReportApprovePeopleEntity;
import com.xbongbong.saas.model.WorkReportApprovePeopleModel;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service("workReportApprovePeopleModel")
public class WorkReportApproveModelImpl implements WorkReportApprovePeopleModel {
    @Resource
    private WorkReportApprovePeopleDao workReportApprovePeopleDao;
    @Override
    public Integer insert(WorkReportApprovePeopleEntity entity) throws XbbException {
        return null;
    }

    @Override
    public Integer insertBatch(List<WorkReportApprovePeopleEntity> list) throws XbbException {
        return workReportApprovePeopleDao.insertBatch(list);
    }

    @Override
    public Integer update(WorkReportApprovePeopleEntity entity) throws XbbException {
        return null;
    }

    @Override
    public List findEntitys(Map<String, Object> param) {
        return workReportApprovePeopleDao.findEntitys(param);
    }

    @Override
    public Integer getEntitysCount(Map<String, Object> param) {
        return workReportApprovePeopleDao.getEntitysCount(param);
    }

    @Override
    public List findEntitysWithoutSub(Map<String, Object> param) {
        return null;
    }
}
